package lu.med.praxiswahl.wahlumed.dao.beans.daointerface;
import java.util.List;

import javax.ejb.Local;

import lu.med.praxiswahl.wahlumed.model.beans.CashBookTBL;

@Local
public interface CashBookDAOInt {

    public void persist(CashBookTBL obj);
    public void delete(Long obj);
    public void update(CashBookTBL obj);
    
    public List<CashBookTBL> retrieveCashBookEntryByYear(String year);

    public List<CashBookTBL> retrieveCashBookEntryByYearAndMonth(
	    int year, int month);

    public CashBookTBL retrieveCashBookEntryByID(Long id);
    
    public int retrieveNextLineNumber(int year, int month);
    
    public List<CashBookTBL> reoderCashBookEntries(List<CashBookTBL> list);
    
    public CashBookTBL retrieveCashBookEntryByBillNumber(long billNumber);
    public List<CashBookTBL> retrieveCashBookEntryByYearAndMonth(int year,
	    int month, boolean cashEntries);
}
